<template>
    <ComputedDemo>

    </ComputedDemo>
</template>

<script lang="ts">
import { reactive } from 'vue'
import ComputedDemo from './components/ComputedDemo.vue'
export default {
    name: 'computed',
    components: {
        ComputedDemo
    },
    setup() {
        function showHelloMsg(value) {
            alert(`触发hello事件，收到的参数为：${value}`)

        }
        return {
            showHelloMsg
        }

    }


} 
</script>
<style></style>